<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html:html lang="true">
<head>
	<html:base />

	<title>prod_insert.jsp</title>

	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />
	<link rel="stylesheet" type="text/css"
		href="<%=request.getContextPath()%>/css/base_orange.css" />
	<link rel="stylesheet" type="text/css"
		href="<%=request.getContextPath()%>/plugin/jquery/css/ui-lightness/jquery-ui-1.8.2.custom.css" />
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/js/base.js"></script>
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/plugin/jquery/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/plugin/jquery/js/jquery-ui-1.8.2.custom.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$("#tabs").tabs();
		});
	</script>
</head>

<body>
	<html:form action="/prod">
		<table class="title1">
			<tr>
				<td class="title1_td1">
					商品 - 新建
				</td>
				<td class="title1_td2">
					<input class="button_2zi" type="submit" value="保 存"
						onclick="appendUrl('?method=insertProdDo');" />
					<input class="button_2zi" type="reset" value="撤 销" />
					<input class="button_2zi" type="button" value="返 回"
						onclick="history.back();" />
				</td>
			</tr>
		</table>
				<table>
					<tr>
						<td class="td30">
							商品名称
						</td>
						<td class="td70">
							<html:text property="name"></html:text>
						</td>
					</tr>
					<tr>
						<td class="td30">
							货号
						</td>
						<td class="td70">
							<html:text property="sn"></html:text>
						</td>
					</tr>
					<tr>
						<td class="td30">
							商品类型
						</td>
						<td class="td70">
							<select name="typeId">
								<c:forEach var="prodTypeForm" items="${prodTypeFormList}">
									<option value="${prodTypeForm.id}">
										${prodTypeForm.name}
									</option>
								</c:forEach>
							</select>
						</td>
					</tr>
					<tr>
						<td class="td30">
							价格
						</td>
						<td class="td70">
							<input type="text" name="shopPrice" />
						</td>
					</tr>
					<tr>
						<td class="td30">
							商品图片
						</td>
						<td class="td70">
							<html:text property="origImg" />
						</td>
					</tr>
				</table>
	</html:form>
</body>
</html:html>
